﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tOutputSet")]
[XmlRoot("outputSet", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class OutputSet : BaseElement
{
    /// <remarks/>
    [XmlElement("dataOutputRefs", DataType = "IDREF")]
    public string[] DataOutputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("optionalOutputRefs", DataType = "IDREF")]
    public string[] OptionalOutputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("whileExecutingOutputRefs", DataType = "IDREF")]
    public string[] WhileExecutingOutputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("inputSetRefs", DataType = "IDREF")]
    public string[] InputSetRefs { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("name")]
    public string Name { get; set; } = default!;
}
